package com.wallace.downloadserver.netty

import org.springframework.beans.factory.annotation.Value
import org.springframework.context.annotation.Configuration

/**
 * @Author: Wallace
 * @Description: NettyConfig
 * @Date: 2022/1/19 23:42
 * @Modified By:
 */
@Configuration
class NettyConfig {

    @Value("\${server.netty.host}")
    var host: String = ""

    @Value("\${server.netty.port}")
    var port: Int = -1
}